package com.sharp.schedule.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sharp.kernel.vo.query.QueryReqVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Title: QueryScheduleHistoryReq
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2020/10/16 10:48
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QueryScheduleHistoryReq extends QueryReqVO {
    private Integer scheduleId;
    private String result;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endAt;
}
